package com.example.cloudtrade;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;


import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
import androidx.fragment.app.Fragment;

import com.example.cloudtrade.fragment.AddFragment;
import com.example.cloudtrade.fragment.CompareFragment;
import com.example.cloudtrade.fragment.FandFragment;
import com.example.cloudtrade.fragment.HomeFragment;
import com.example.cloudtrade.fragment.MeFragment;
import com.google.android.material.bottomnavigation.BottomNavigationView;

public class AddActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_add);

        ImageView imageView = findViewById(R.id.game_image1);
        imageView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(AddActivity.this, AddActivity2.class);
                startActivity(intent);
            }
        });
    }
}